
function form_submit() {
	document.getElementById("login").submit();
}
function form_reset() {
	document.getElementById("login").reset();
}
function reloadcode() {
	var verify = document.getElementById("safecode");
	verify.setAttribute("src", "code.php?" + Math.random());
}
function selectAll(element) {
	var obj = document.getElementById(element);
	for (var i = 0; i < obj.length; i++) {
		if (obj.options[i].value != "") {
			obj.options[i].selected = true;
		}
	}
}

